$OpenBSD: patch-src_option_c,v 1.1 2013/11/26 11:59:32 fgsch Exp $
--- src/option.c.orig	Fri May 21 12:18:14 2010
+++ src/option.c	Sat Mar 16 11:27:40 2013
@@ -606,7 +606,7 @@ keyBindingToString (CompDisplay    *d,
 	KeySym keysym;
 	char   *keyname;
 
-	keysym  = XKeycodeToKeysym (d->display, key->keycode, 0);
+	keysym  = XkbKeycodeToKeysym (d->display, key->keycode, 0, 0);
 	keyname = XKeysymToString (keysym);
 
 	if (keyname)
